// 对所有的api接口统一管理
import requests from './request'
import mockRequests from './mockRequest'

// 获取banner(Home首页轮播图接口)
export const reqGetBannerList = ()=>mockRequests.get('/banner')
export const reqGetBanner2List = ()=>mockRequests.get('/banner2')
// 获取商品信息
export const reqGetCommodityList = ()=>mockRequests.get('/commodity')
// 获取分类信息
export const reqCategoryList = ()=>mockRequests.get('/typenav')
// 获取验证码信息
// /api/user/passport/sendCode/{phone}
// export const reqGetCode = (phone) =>requests({url:`/user/passport/sendCode/${phone}`,method:'get'})

